From: Ceph Packaging Team Date: Mon, 15 Dec 2025 12:18:10 +0000 (+0530) Subject: allow BGP-to-the-host style binding X-Git-Tag: archive/raspbian/14.2.21-1+rpi1+deb11u2^2~9 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=877c90f328f80d8473b1972d762fb7c989ec2100;p=ceph.git allow BGP-to-the-host style binding Forwarded: no Last-Update: 2021-04-21 Gbp-Pq: Name allow-bgp-to-host.patch --- diff --git a/src/common/ipaddr.cc b/src/common/ipaddr.cc index 0abf7f20c..ce81e7e73 100644 --- a/src/common/ipaddr.cc +++ b/src/common/ipaddr.cc @@ -56,7 +56,7 @@ const struct ifaddrs *find_ipv4_in_subnet(const struct ifaddrs *addrs, if (addrs->ifa_addr == NULL) continue; - if (strcmp(addrs->ifa_name, "lo") == 0 || boost::starts_with(addrs->ifa_name, "lo:")) + if (boost::starts_with(addrs->ifa_name, "lo:")) continue; if (numa_node >= 0 && !match_numa_node(addrs->ifa_name, numa_node))